<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:tt="https://code.google.com/p/rad-framework/pdf"
	xmlns:p="http://jboss.com/products/seam/pdf">
	
	<p:section rendered="#{value == null}">
		<tt:title size="#{font}" spacingBefore="2" spacingAfter="0"
			value="#{messages['No']} #{label}" />
	</p:section>
	
	<c:if test="#{value != null}">
		<p:section rendered="#{value != null}">
			<tt:title size="#{font}" spacingBefore="20" spacingAfter="20"
				value="#{label}" />
			<ui:include src="/#{viewPath == null ? 'pdf' : viewPath}/#{type}/DetailCells.xhtml">
				<ui:param name="entity" value="#{value}"/>
			</ui:include>
		</p:section>
	</c:if>
	
</ui:composition>
